package net.kunyv.base.mapper;

import net.kunyv.base.entity.SysCompany;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.HashMap;
import java.util.List;

public interface SysCompanyMapper extends Mapper<SysCompany> {

    /**
     * 获取代码表下拉数据
     * @param q 过滤条件
     * @return
     * @throw
     * @author sunyb
     * @date 2020/7/10
     */
    List<HashMap> getSysCodeList(@Param("q") String q);

    List<HashMap> getCompanyList(@Param("q") String q);

}